package com.ant.storage.dto;

import com.ant.storage.common.PageRequest;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author hzd
 * @version 1.0
 * @date 2022/4/29 9:42
 */
@Data
public class CommodityPageDto extends PageRequest {
    @NotEmpty( message = "商品名称不能为空")
    @ApiModelProperty(value = "商品名称")
    @TableField("commodity_name")
    private String commodityName;
}
